package com.taxi.service;

import com.taxi.remote.TrackClient;
import com.taxi.response.TrackResponse;
import com.taxi.result.Result;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @Author: aniu
 * @Date: 2023/10/1
 * @ClassName: TrackService
 * @Description: Write class functionality and purpose here.
 * @Version: 1.0
 */
@Service
public class TrackService {
    @Autowired
    private TrackClient trackClient;

    public Result<TrackResponse> add(String tid) {
        return trackClient.add(tid);
    }
}
